import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import vant from './plugins/vant.js'
import './plugins/rem.js'
import 'vant/lib/index.css'
import './lib/rem.js'
import 'amfe-flexible'
import './assets/css/global.css'

// 公共组件
import MusicCard from './components/PublicComponents/MusicCard'
import Search from './components/PublicComponents/Search'
import Carousels from './components/PublicComponents/Carousels'

Vue.use(MusicCard)
Vue.use(Search)
Vue.use(Carousels)

Vue.component('music-card', MusicCard)
Vue.component('search', Search)
Vue.component('carousels', Carousels)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  vant,
  components: {
    MusicCard,
    Search,
    Carousels
  }
}).$mount('#app')
